#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>


@interface MainViewController : UIViewController
<UIImagePickerControllerDelegate,
UINavigationControllerDelegate,
AVAudioRecorderDelegate,
AVAudioPlayerDelegate> 
{
	UIButton *photoButton;
	UIButton *cameraButton;
	UIImageView *photo;
	AVAudioRecorder *audioRecorder;
	AVAudioPlayer *audioPlayer;
	UIButton *playButton;
	UIButton *recordButton;
	UIButton *stopButton;

}
@property(nonatomic,retain) UIButton *photoButton;
@property(nonatomic,retain) UIButton *cameraButton;
@property(nonatomic,retain) UIImageView *photo;
@property(nonatomic,retain) UIButton *playButton;
@property(nonatomic,retain) UIButton *recordButton;
@property(nonatomic,retain) UIButton *stopButton;
-(void)pickImage:(id)sender;
-(void)pickImageCamera:(id)sender;
-(void) recordAudio:(id)sender;
-(void) playAudio:(id)sender;
-(void) stop:(id)sender;
@end
